package com.eight.cloud.openfeign.message.constant;

/**
 * @ClassName: Constant
 * @Author: TXC
 * @Date: 2024-10-11 10:57
 **/
public class SocketConstant {

    /**
     * 订阅消息前缀
     */
    public static final String SOCKET_TOPIC = "/topic";
    /**
     *
     */
    public static final String SOCKET_QUEUE = "/queue";
    /**
     *
     */
    public static final String SOCKET_MASSAGE = "/message";
    /**
     * 点对点消息前缀
     */
    public static final String SOCKET_USER = "/user";
    /**
     *
     */
    public static final String SOCKET_APP = "/app";
    /**
     *
     */
    public static final String SEND_TO_ALL = "all";

    /**
     * Redis消息订阅主题
     */
    public static final String WEBSOCKET_MESSAGE = "websocket:message";
    public static final String OPEN_API_CALLBACK = "open:api:callback";
    /**
     * rabbitmq队列
     */
    public static final String WEBSOCKET_QUEUE = "websocket_message";

    /**
     * rabbitmq交换机
     */
    public static final String TOPIC_EXCHANGE = "topicExchange";
}
